<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>徐中堂</title>
  <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
  <script src="vue.js" type="text/javascript" charset="UTF-8"></script>
</head>
<body>
<div id="app">
  <input v-model="message">
  this is{{ message }}

  <input type="checkbox" id="jack" value="Jack" v-model="checkedNames">
  <label for="jack">Jack</label>
  <input type="checkbox" id="john" value="John" v-model="checkedNames">
  <label for="john">John</label>
  <input type="checkbox" id="mike" value="Mike" v-model="checkedNames">
  <label for="mike">Mike</label>
  <br>
  <span>Checked names: {{ checkedNames }}</span>
</div>
<script>
    var app = new Vue({
        el: '#app',
        data: {
            message: "123"
            ,checkedNames: []
        }
    })
</script>
</body>
</html>
